<template>
  <div id="headTitle">
    <!-- 顶部起始位置 -->
    <div class="view_top flex">
      <div class="left flex">
        <span class="left_icon"> </span>
        <ul>
          <el-breadcrumb separator="-">
            <el-breadcrumb-item
              v-for="(item, index) in historyArr"
              :key="index"
              >{{ item }}</el-breadcrumb-item
            >
            <slot></slot>
          </el-breadcrumb>
        </ul>
      </div>
    </div>
    <!-- 顶部结束位置 -->

  
  </div>
</template>

<script>

export default {
  name: "userBox",
  props: {
    //status=1 表示用户列表，优质卖家
    historyArr: {
      type: [Array],
      default: function () {
        return [""];
      },
    },
  
  },
  data() {
    return {
    
    };
  },
  destory() {},
  mounted: function () {},
  methods: {
 
  },
  watch: {
    initText() {},
  },
};
</script>

<style lang="less">
#headTitle {
  /* 头部起始位置 */
  .el-header {
    height: 50px !important;
    line-height: 50px;
    border-bottom: 2px solid #bebebe;
  }

  /* 头部起始位置 */
  .view_top {
    width: 96%;
    height: 50px;
    line-height: 50px;
    padding: 0px 10px;
    margin: auto;
    justify-content: space-between;

    .left_icon {
      width: 4px;
      height: 20px;
      background: #999;
      display: inline-block;
      margin-right: 10px;
    }
  }
  /* 头部结束位置 */

}
</style>